Repository navigation
0.5.0: portable single exe (.NET Framework 4.8) - #1
Merged
Merged
Conversation
- Retarget VolumeBridge.csproj to net48 (x64, embedded PDB, PolySharp, Microsoft.NETFramework.ReferenceAssemblies, embed NAudio & optional APO DLL) - Add app.manifest for PerMonitorV2 DPI and Windows 10/11 compatibility - Replace System.Text.Json with self-contained MiniJson for zero runtime DLLs - Simplify AppPaths.DataDir to always use %LOCALAPPDATA%\VolumeBridge - Remove installer-language file logic from Loc - Update UpdateCheck assets to VolumeBridge.exe / VolumeBridge.exe.sha256 Co-Authored-By: Gemini 4 Neon <[email protected]>
…ader - Port Program.cs, Audio/*, and Ui/* from .NET 8 APIs to .NET Framework 4.8 (DllImport, Application.ExecutablePath, GetTickCount64, FormattableString.Invariant, ServiceController.Stop, quoted schtasks arguments, WaitForExit) - Register AppDomain.AssemblyResolve as the first line in Main with a NoInlining Run() method to load embedded NAudio.Core and NAudio.Wasapi DLLs - Set GenerateSupportedRuntime=false so build output is solely VolumeBridge.exe - Sync Task Scheduler autostart exe path on startup if the portable exe moved Co-Authored-By: Gemini 4 Neon <[email protected]>
- Refuse --apo-setup when the legacy Inno Setup uninstall key is present (64-bit view), and show a clear uninstall prompt in MainForm - Extract embedded VolumeBridgeApo.dll to versioned path %ProgramFiles%\VolumeBridge\VolumeBridgeApo-<8hex>.dll, register via regsvr32 /s, ensure %ProgramData%\VolumeBridge ACL, and clean up old DLLs (MoveFileEx MOVEFILE_DELAY_UNTIL_REBOOT if locked) - Add --apo-remove full cleanup (restore FxProperties + audio setting, regsvr32 /u /s, delete DLLs/empty dir/empty HKLM state key) and Remove plugin button with confirmation + autostart removal - Detect outdated registered APO DLL (SHA-256 mismatch vs embedded) and switch Enable button to Update plugin Co-Authored-By: Gemini 4 Neon <[email protected]>
- Replace Inno Setup silent update with in-place exe swap: verify folder writability (fall back to opening release page), download + SHA-256 verify, rename running exe to <exe>.old, copy new exe in place, launch with --updated, and roll back on failure - Wait up to 15 s for the single-instance mutex on --updated while the previous instance exits, and clean up <exe>.old + temp downloads in the background with retries - Remove installer-only Global\VolumeBridge.Updating mutex handling Co-Authored-By: Gemini 4 Neon <[email protected]>
…0.5.0 - Update .github/workflows/build.yml to embed built VolumeBridgeApo.dll, gate dist to solely VolumeBridge.exe <= 5 MB, generate .sha256, and publish the two new release assets (removing Inno Setup) - Delete installer/ directory - Add PolySharp (build-time only, MIT) to THIRD-PARTY-NOTICES.md - Update README.md, README.zh-CN.md, docs/release-notes.md, and docs/PLAN.md for 0.5.0 portable single exe Co-Authored-By: Gemini 4 Neon <[email protected]>
…hile the old install exists Co-Authored-By: Claude <[email protected]>
ZanderH-code
marked this pull request as ready for review
November 23, 2026 21:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ship a single portable
VolumeBridge.exetargeting in-box .NET Framework 4.8 (~1 MB instead of the 67 MB self-contained .NET 8 Inno Setup installer).VolumeBridge.csprojtonet48(x64, PolySharp, ReferenceAssemblies, embedded PDB), embeddedNAudio.Core+NAudio.Wasapiloaded viaAppDomain.AssemblyResolve, embeddedVolumeBridgeApo.dllvia-p:ApoDll=..., replacedSystem.Text.JsonwithMiniJson.--apo-setupchecks for legacy Inno Setup install (64-bit uninstall key), extracts versionedVolumeBridgeApo-<8hex>.dllto%ProgramFiles%\VolumeBridge, runsregsvr32 /s, installs APO registry entries, and cleans up old DLLs (delay-until-reboot if locked). Added--apo-remove+ Remove plugin button, and outdated-plugin detection (Update plugin).AppPaths.DataDiralways uses%LOCALAPPDATA%\VolumeBridge; removed installer-language file; autostart silently updates the Task Scheduler path if the exe moved.VolumeBridge.exe+VolumeBridge.exe.sha256) with rollback, writability check,--updated15 s mutex wait, and background.oldcleanup..github/workflows/build.yml(APO build, tests, net48 build, single-exe ≤ 5 MB gate,.sha256+ release assets), removedinstaller/, updatedTHIRD-PARTY-NOTICES.md,README.md,README.zh-CN.md,docs/release-notes.md, anddocs/PLAN.md.